package com.jk.entity;

import java.io.Serializable;
import java.util.Date;

public class Coupon implements Serializable{
    private String couponId; //优惠券id
    private String companyId;  //企业id
    private String couponName; //企业名称
    private Integer couponSize; //优惠券大小
    private String couponInfo; //优惠券描述
    private Integer couponGrant;//发放数量
    private Integer couponGet; //领取数量
    private Date couponStart; //活动开始时间
    private Date couponEnd; //活动结束时间
    private Date couponDate; //创建时间
    private Integer couponYn; //是否有效

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Integer getCouponSize() {
        return couponSize;
    }

    public void setCouponSize(Integer couponSize) {
        this.couponSize = couponSize;
    }

    public String getCouponInfo() {
        return couponInfo;
    }

    public void setCouponInfo(String couponInfo) {
        this.couponInfo = couponInfo;
    }

    public Integer getCouponGrant() {
        return couponGrant;
    }

    public void setCouponGrant(Integer couponGrant) {
        this.couponGrant = couponGrant;
    }

    public Integer getCouponGet() {
        return couponGet;
    }

    public void setCouponGet(Integer couponGet) {
        this.couponGet = couponGet;
    }

    public Date getCouponStart() {
        return couponStart;
    }

    public void setCouponStart(Date couponStart) {
        this.couponStart = couponStart;
    }

    public Date getCouponEnd() {
        return couponEnd;
    }

    public void setCouponEnd(Date couponEnd) {
        this.couponEnd = couponEnd;
    }

    public Date getCouponDate() {
        return couponDate;
    }

    public void setCouponDate(Date couponDate) {
        this.couponDate = couponDate;
    }

    public Integer getCouponYn() {
        return couponYn;
    }

    public void setCouponYn(Integer couponYn) {
        this.couponYn = couponYn;
    }

    @Override
    public String toString() {
        return "Coupon{" +
                "couponId='" + couponId + '\'' +
                ", companyId='" + companyId + '\'' +
                ", couponName='" + couponName + '\'' +
                ", couponSize=" + couponSize +
                ", couponInfo='" + couponInfo + '\'' +
                ", couponGrant=" + couponGrant +
                ", couponGet=" + couponGet +
                ", couponStart=" + couponStart +
                ", couponEnd=" + couponEnd +
                ", couponDate=" + couponDate +
                ", couponYn=" + couponYn +
                '}';
    }
}
